package bma.common.netty.webserver;

import org.jboss.netty.handler.codec.http.HttpRequest;
import org.jboss.netty.handler.codec.http.HttpResponse;

public interface SessionManager {

	public String createSessionId();

	public boolean isValid(String sid);

	public String getSessionId(HttpRequest request);

	public void setSessionId(HttpResponse response, String sessionId);

	public Session getSession(String sid, boolean created);

}
